package com.dyw.ssmp.controller;

import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;



/**
 * @author Devil
 * @create 2022-01-26-13:59
 */
@Slf4j
@SuppressWarnings("all")
@RestController
@RequestMapping("/log")
public class Controller3 {
    @GetMapping
    public String doLog(){
        log.debug("debug...");
        log.error("error...");
        log.info("infor...");
        log.warn("warn...");
        return "SpringBoot2 正在运行....";
    }
}
